package model

import "gorm.io/gorm"

type Moments struct {
	gorm.Model
	UserId   int    `gorm:"int(11);not null;comment:用户id"`
	FriendId int    `gorm:"int(11);not null;comment:好友id"`
	Image    string `gorm:"varchar(100);not null;comment:图片"`
	Content  string `gorm:"varchar(50);not null;comment:内容"`
	Count    int    `gorm:"int(11);not null;comment:数量"`
}
type MomentList struct {
	User
	FriendId int `gorm:"int(11);not null;comment:好友id"`
}
